package com.rongke.service;

import com.baomidou.mybatisplus.service.IService;
import com.rongke.model.CashRecord;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @CashRecordService
 * @用户商家现金流水Service
 * @version : Ver 1.0
 */
public interface CashRecordService extends IService<CashRecord>{
    /**
     * 查询订单总金额
     * */
    BigDecimal inquiryorder(Map map);


    /**
     * 后台查询用户资金
     * */
     List<CashRecord>  selectusermoliy(Map map);
    Integer  selectusermoliyCount(Map map);

    BigDecimal  totalAssetschongzhi(Map map);
    /***
     * 后台成功提现人数
     * */
     Integer withdrawalssuccess();
  /**
  * 今日充值人数
  * */
    Integer Today();

    /**
     * 出入金*/
   List<CashRecord> selectEntryandexit(Map map);

   /**
    * 总记录数
    * */
   Integer  selectEntryandexitCount(Map map);
}
